package com.springmq.mq.thread;

import lombok.extern.slf4j.Slf4j;

/**
 * @ClassName : CreateThread
 * @Author : lby
 * @Date: 2021/1/29 14:09
 * @Description : 创建线程
 */
@Slf4j
public class CreateThread extends Thread {
    @Override
    public void run() {
        for (int i = 0; i < 20; i++) {
            log.info("自定义线程:{}",i);
        }
        super.run();
    }
}
